\hypertarget{merge__test_2main_8cpp}{
\section{/home/javier/Escritorio/core/test/merge\_\-test/main.cpp File Reference}
\label{merge__test_2main_8cpp}\index{/home/javier/Escritorio/core/test/merge\_\-test/main.cpp@{/home/javier/Escritorio/core/test/merge\_\-test/main.cpp}}
}
{\tt \#include $<$SDL/SDL.h$>$}\par
{\tt \#include $<$GL/gl.h$>$}\par
{\tt \#include $<$GL/glu.h$>$}\par
{\tt \#include $<$iostream$>$}\par
{\tt \#include \char`\"{}Object3D.h\char`\"{}}\par
{\tt \#include \char`\"{}Vertex3D.h\char`\"{}}\par
{\tt \#include \char`\"{}Triangle.h\char`\"{}}\par
{\tt \#include \char`\"{}Scene.h\char`\"{}}\par
{\tt \#include \char`\"{}Camera.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hyperlink{class_object3_d}{Object3D} $\ast$ \hyperlink{merge__test_2main_8cpp_05945223a43b2b89ef96be617edb896f}{read\_\-orj} (const char $\ast$path)
\item 
void \hyperlink{merge__test_2main_8cpp_9a6258b570a4a4aff9c93edcdfa09997}{draw\_\-screen} ()
\item 
void \hyperlink{merge__test_2main_8cpp_26c27cf44429d64dc2094c5a75609b88}{initGL} (int w, int h)
\item 
int \hyperlink{merge__test_2main_8cpp_3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
\hyperlink{class_object3_d}{Object3D} $\ast$ \hyperlink{merge__test_2main_8cpp_52a4b0f4fadc24983c117dca4655b884}{obja}
\item 
\hyperlink{class_object3_d}{Object3D} $\ast$ \hyperlink{merge__test_2main_8cpp_0936bbb8a2b347b8d07c616200b8131c}{objb}
\item 
GLuint \hyperlink{merge__test_2main_8cpp_1e82c444d54a1c7626d5d7173d91bbc8}{n1}
\item 
GLuint \hyperlink{merge__test_2main_8cpp_80a9b5f851fdb1c9aa57822e384b86a3}{n2}
\item 
GLdouble \hyperlink{merge__test_2main_8cpp_11e27e757a38bde7908e9ca4645951eb}{pos} \mbox{[}3\mbox{]} = \{0.0, 1.0, 6.0\}
\item 
GLdouble \hyperlink{merge__test_2main_8cpp_2f76e24adad16f02ee845c6f4b7f05fa}{look} \mbox{[}3\mbox{]} = \{0.0, 1.0, 0.0\}
\item 
GLdouble \hyperlink{merge__test_2main_8cpp_0c59c52e092b90d41bfeca1072564c45}{up} \mbox{[}3\mbox{]} = \{0.0, 1.0, 0.0\}
\item 
\hyperlink{class_camera}{Camera} $\ast$ \hyperlink{merge__test_2main_8cpp_82f7081245eb70cf78c0a189cfab9e19}{cam} = new \hyperlink{class_camera}{Camera}(\hyperlink{merge__test_2main_8cpp_11e27e757a38bde7908e9ca4645951eb}{pos}, \hyperlink{merge__test_2main_8cpp_2f76e24adad16f02ee845c6f4b7f05fa}{look}, \hyperlink{merge__test_2main_8cpp_0c59c52e092b90d41bfeca1072564c45}{up})
\item 
\hyperlink{class_scene}{Scene} $\ast$ \hyperlink{merge__test_2main_8cpp_56a30990a622d043b3abfeec2eee0f1d}{sc} = new \hyperlink{class_scene}{Scene}(\hyperlink{merge__test_2main_8cpp_82f7081245eb70cf78c0a189cfab9e19}{cam})
\end{CompactItemize}


\subsection{Function Documentation}
\hypertarget{merge__test_2main_8cpp_9a6258b570a4a4aff9c93edcdfa09997}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!draw\_\-screen@{draw\_\-screen}}
\index{draw\_\-screen@{draw\_\-screen}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{draw\_\-screen}]{\setlength{\rightskip}{0pt plus 5cm}void draw\_\-screen ()}}
\label{merge__test_2main_8cpp_9a6258b570a4a4aff9c93edcdfa09997}




Definition at line 32 of file main.cpp.\hypertarget{merge__test_2main_8cpp_26c27cf44429d64dc2094c5a75609b88}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!initGL@{initGL}}
\index{initGL@{initGL}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{initGL}]{\setlength{\rightskip}{0pt plus 5cm}void initGL (int {\em w}, \/  int {\em h})}}
\label{merge__test_2main_8cpp_26c27cf44429d64dc2094c5a75609b88}




Definition at line 42 of file main.cpp.\hypertarget{merge__test_2main_8cpp_3c04138a5bfe5d72780bb7e82a18e627}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!main@{main}}
\index{main@{main}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, \/  char $\ast$$\ast$ {\em argv})}}
\label{merge__test_2main_8cpp_3c04138a5bfe5d72780bb7e82a18e627}




Definition at line 96 of file main.cpp.\hypertarget{merge__test_2main_8cpp_05945223a43b2b89ef96be617edb896f}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!read\_\-orj@{read\_\-orj}}
\index{read\_\-orj@{read\_\-orj}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{read\_\-orj}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object3D}$\ast$ read\_\-orj (const char $\ast$ {\em path})}}
\label{merge__test_2main_8cpp_05945223a43b2b89ef96be617edb896f}




Definition at line 18 of file importer.cpp.

\subsection{Variable Documentation}
\hypertarget{merge__test_2main_8cpp_82f7081245eb70cf78c0a189cfab9e19}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!cam@{cam}}
\index{cam@{cam}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{cam}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Camera}$\ast$ {\bf cam} = new {\bf Camera}({\bf pos}, {\bf look}, {\bf up})}}
\label{merge__test_2main_8cpp_82f7081245eb70cf78c0a189cfab9e19}




Definition at line 24 of file main.cpp.\hypertarget{merge__test_2main_8cpp_2f76e24adad16f02ee845c6f4b7f05fa}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!look@{look}}
\index{look@{look}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{look}]{\setlength{\rightskip}{0pt plus 5cm}GLdouble {\bf look}\mbox{[}3\mbox{]} = \{0.0, 1.0, 0.0\}}}
\label{merge__test_2main_8cpp_2f76e24adad16f02ee845c6f4b7f05fa}




Definition at line 21 of file main.cpp.\hypertarget{merge__test_2main_8cpp_1e82c444d54a1c7626d5d7173d91bbc8}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!n1@{n1}}
\index{n1@{n1}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{n1}]{\setlength{\rightskip}{0pt plus 5cm}GLuint {\bf n1}}}
\label{merge__test_2main_8cpp_1e82c444d54a1c7626d5d7173d91bbc8}




Definition at line 18 of file main.cpp.\hypertarget{merge__test_2main_8cpp_80a9b5f851fdb1c9aa57822e384b86a3}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!n2@{n2}}
\index{n2@{n2}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{n2}]{\setlength{\rightskip}{0pt plus 5cm}GLuint {\bf n2}}}
\label{merge__test_2main_8cpp_80a9b5f851fdb1c9aa57822e384b86a3}




Definition at line 18 of file main.cpp.\hypertarget{merge__test_2main_8cpp_52a4b0f4fadc24983c117dca4655b884}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!obja@{obja}}
\index{obja@{obja}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{obja}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object3D}$\ast$ {\bf obja}}}
\label{merge__test_2main_8cpp_52a4b0f4fadc24983c117dca4655b884}




Definition at line 15 of file main.cpp.\hypertarget{merge__test_2main_8cpp_0936bbb8a2b347b8d07c616200b8131c}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!objb@{objb}}
\index{objb@{objb}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{objb}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object3D}$\ast$ {\bf objb}}}
\label{merge__test_2main_8cpp_0936bbb8a2b347b8d07c616200b8131c}




Definition at line 16 of file main.cpp.\hypertarget{merge__test_2main_8cpp_11e27e757a38bde7908e9ca4645951eb}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!pos@{pos}}
\index{pos@{pos}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{pos}]{\setlength{\rightskip}{0pt plus 5cm}GLdouble {\bf pos}\mbox{[}3\mbox{]} = \{0.0, 1.0, 6.0\}}}
\label{merge__test_2main_8cpp_11e27e757a38bde7908e9ca4645951eb}




Definition at line 20 of file main.cpp.\hypertarget{merge__test_2main_8cpp_56a30990a622d043b3abfeec2eee0f1d}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!sc@{sc}}
\index{sc@{sc}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{sc}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Scene}$\ast$ {\bf sc} = new {\bf Scene}({\bf cam})}}
\label{merge__test_2main_8cpp_56a30990a622d043b3abfeec2eee0f1d}




Definition at line 26 of file main.cpp.\hypertarget{merge__test_2main_8cpp_0c59c52e092b90d41bfeca1072564c45}{
\index{merge\_\-test/main.cpp@{merge\_\-test/main.cpp}!up@{up}}
\index{up@{up}!merge_test/main.cpp@{merge\_\-test/main.cpp}}
\subsubsection[{up}]{\setlength{\rightskip}{0pt plus 5cm}GLdouble {\bf up}\mbox{[}3\mbox{]} = \{0.0, 1.0, 0.0\}}}
\label{merge__test_2main_8cpp_0c59c52e092b90d41bfeca1072564c45}




Definition at line 22 of file main.cpp.